package com.itstyle.mytest.threadpoolexecutor.policy;

import com.itstyle.mytest.threadpoolexecutor.ThreadPoolExecutor;

/**
 * @author xianguang
 * @date 2020-01-06 14:03
 */
public interface PolicyHandler {
    //拒绝策略
    void rejected(Runnable task,ThreadPoolExecutor executor);
}
